export const localRouter = [
    {
        url: '/home',
        name: '首页',
        icon: 'icon-shouye',
        pagePath: "pages/home/home.vue"
    },
    {
        url: '/article',
        name: '博客文章',
        icon: 'icon-jurassic_form',
        children: [
            {
                url: '/artcat',
                name: '文章分类',
                pagePath: "pages/artcat/list.vue"
            },
            {
                url: '/list',
                name: '文章列表',
                meta: {
                    cache: true,
                },
                pagePath: "pages/article/list.vue"
            },
            {
                url: '/form',
                name: '文章添加/编辑',
                hideMenu: true,
                pagePath: "pages/article/form.vue"
            }
        ]
    },
    {
        url: '/ucenter',
        name: '用户中心',
        icon: 'icon-bg-file',
        hideMenu: true,
        children: [
            {
                url: '/userinfo',
                name: '用户中心',
                icon: 'icon-bg-file',
                hideMenu: true,
                pagePath: "pages/ucenter/userinfo.vue"
            },
            {
                url: '/setting',
                name: '设置',
                icon: 'icon-bg-file',
                hideMenu: true,
                pagePath: "pages/ucenter/setting.vue"
            }
        ]
    }
];